<!DOCTYPE html>
<html lang="zh-cmn-Hans">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="ie=edge" />
		<title>鹿程智慧油站商户平台</title>
		<meta name="description" content="鹿程科技是提供加油站互联网化零管系统、营销及支付和大数据分析运营服务的行业领先科技公司。鹿程科技充分了解加油站行业的需求和新兴互联网的发展,依靠业内最先进的科技和标准化的运营,持续帮助油站业务发展创造价值。"/>
		<meta name="keywords" content="智慧油站,鹿程,鹿程智慧油站,鹿程智慧油站微信支付,加油站微信支付,加油站营销管理"/>
		<link rel="icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="shortcut icon" href="https://static.zhihuiyouzhan.com.cn/static/styles/admin/img/title.ico" type="image/x-icon">
		<link rel="stylesheet" href="../layui/css/layui.css" />
		<link rel="stylesheet" href="../css/style.css" />
	</head>
<body>
	<section>
		<!--deer-tit-->
		<div class="deer-tit">
			<h3>便利店</h3>
			<h4>供货商管理</h4>
			<h5>供货商添加</h5>
		</div>
		<!--/deer-tit-->
		<!--deer-content-->
		<div class="deer-content">
			<table class="layui-table ware-table" lay-skin="line">
				<thead>
				    <tr>
		                <th>ID</th>
						<th>联系人</th>
						<th>电话</th>
						<th>公司名称</th>
						<th>地址</th>
						<th>操作</th>
				    </tr> 
				</thead>
				<tbody>
				    <tr>
						<td>1</td>
						<td>刘清音</td>
						<td>18953989303</td>
						<td>临沂汇通食品有限公司</td>
						<td class="text-width" style="width: 260px;">山东省临沂市兰山区左岸观澜2栋3楼302进门左拐直走20米后右转</td>
						<th> 
							<span class="green">修改</span>
							<span class="blue" style="margin-left: 8px">删除</span>
						</th>
				    </tr>
				</tbody>
			</table>
		</div>
	</section>
	
	<!--js-->
	<aside>
		
		<script type="text/javascript" src="../layui/layui.js" ></script>
		<script type="text/javascript">
			
			layui.use(['layer','jquery'],function(){
				var	layer=layui.layer;
				var $=layui.jquery;
				
				//修改
				$('.green').bind('click',function () {

					 parent.layer.open({
						type: 2,
						area: ['600px', '500px'],
						shadeClose: true,
						resize: false,
						title: '修改供货商',
						content: "便利店-添加供货商.html",
					})


					
				})


				//删除
				$('.blue').bind('click',function () {
					layer.confirm('您确定要删除吗？', {
						title: '确认删除'
					}, function () {
						// 发送请求
						$.post("", function (res) {
							if (res.code == 0) {
								layer.msg('删除成功', { icon: 1 }, function () {
									window.location.href = '';
								})

							} else {
								layer.msg(res.msg, { icon: 2 })
							}
						})
						// 
					})
				})



			})
			
		</script>
		
		
		
	</aside>
	<!--/js-->
</body>
</html>